package nl.jjsoft.airlock.utils
{
	import flash.events.KeyboardEvent;
	
	public class KeyBoardUtils
	{
		private static const KEY_RIGHT:int = 39;
		private static const KEY_LEFT:int = 37;
		
		public function KeyBoardUtils()
		{
		}

		public static function rightPressed(event:KeyboardEvent):Boolean {
			return event.keyCode == KEY_RIGHT;
		}
		
		public static function leftPressed(event:KeyboardEvent):Boolean {
			return event.keyCode == KEY_LEFT;
		}
	}
}